local lrucache = require "resty.lrucache"

local _M ={}

print("重新初始化了 cache")
local c, err = lrucache.new(31)
function _M:set(key,val)
    --ngx.shared.properties:set(k, v)
    c:set(key,val)
end

function _M:get(key)
    return c:get(key)
   -- ngx.shared.properties:get(k)
end


return _M;


